package com.ymtms.statisticalform.dao;

import com.ymtms.statisticalform.pojo.CollectingMoneyBalance;
import com.ymtms.statisticalform.util.TimeRangeUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectingMoneyBalanceMapper {
    // 查询所有
    List<CollectingMoneyBalance> selectAll();
    // 分页查询
    List<CollectingMoneyBalance> queryByPage(@Param("collecting") CollectingMoneyBalance collectingMoneyBalance,
                                             @Param("balanceDateRange") TimeRangeUtil balanceDateRange);

    int deleteByPrimaryKey(Integer cmsid);

    int insert(CollectingMoneyBalance record);

    int insertSelective(CollectingMoneyBalance record);

    CollectingMoneyBalance selectByPrimaryKey(Integer cmsid);

    int updateByPrimaryKeySelective(CollectingMoneyBalance record);

    int updateByPrimaryKey(CollectingMoneyBalance record);
}